﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;

namespace LINQToolKit.Query
{
    public interface IEnumerableExecutor
    {
        /// <summary>
        /// Execute the given expression on the given source
        /// </summary>
        /// <param name="expr"></param>
        /// <param name="source"></param>
        /// <returns></returns>
        object Execute(Expression expr, IEnumerable source);
    }
}
